package com.nbcio.cd.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 访问级别枚举
 *
 * @author nbacheng
 */
@Getter
@AllArgsConstructor
public enum AccessLevelEnum {

    /**
     * 私有
     */
    PRIVATE("private", "私有"),

    /**
     * 公开
     */
    PUBLIC("public", "公开"),

    /**
     * 受限
     */
    RESTRICTED("restricted", "受限"),

    /**
     * 密码保护
     */
    PASSWORD("password", "密码保护");

    private final String code;
    private final String info;
}
